/**
 * 
 * purpose: LOGIN PANEL VIEW...
 * @auth: Ning
 * date: 2009-9-23
 * 
 * */
package string
{
	public class ExtendString
	{
		//START...
		
		//remove blank before and after string...
		public static function trim(str:String):String
		{
			
			str = str.replace(/^\s*/,"");

			str = str.replace(/\s*$/,"");
			
			return str;			
			
		}
		
		
		//END...
	}
}